package com.zheng.wechat.mp.dao.model;

import java.io.Serializable;
import java.util.Date;

public class WechatMpSystemProject implements Serializable {
    /**
     * ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 项目编码
     *
     * @mbg.generated
     */
    private String code;

    /**
     * 项目名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 项目图片
     *
     * @mbg.generated
     */
    private String img;

    /**
     * 编辑地址
     *
     * @mbg.generated
     */
    private String bjurl;

    /**
     * 入口地址
     *
     * @mbg.generated
     */
    private String hdurl;

    /**
     * gif图片地址
     *
     * @mbg.generated
     */
    private String gifUrl;

    /**
     * 活动真实访问地址（最终）
     *
     * @mbg.generated
     */
    private String hdzsUrl;

    /**
     *  默认值1  1授权素材/2本地素材
     *
     * @mbg.generated
     */
    private Byte scType;

    /**
     * 入口地址
     *
     * @mbg.generated
     */
    private String entrance;

    /**
     * 类型
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private String sort;

    /**
     * 项目分类ID
     *
     * @mbg.generated
     */
    private String projectClassifyId;

    /**
     * 应用类型
     *
     * @mbg.generated
     */
    private String applicationType;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    private String creatName;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date creatTime;

    /**
     * 修改人
     *
     * @mbg.generated
     */
    private String updateName;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 活动描述
     *
     * @mbg.generated
     */
    private String discribe;

    /**
     * 详情
     *
     * @mbg.generated
     */
    private String detail;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getBjurl() {
        return bjurl;
    }

    public void setBjurl(String bjurl) {
        this.bjurl = bjurl;
    }

    public String getHdurl() {
        return hdurl;
    }

    public void setHdurl(String hdurl) {
        this.hdurl = hdurl;
    }

    public String getGifUrl() {
        return gifUrl;
    }

    public void setGifUrl(String gifUrl) {
        this.gifUrl = gifUrl;
    }

    public String getHdzsUrl() {
        return hdzsUrl;
    }

    public void setHdzsUrl(String hdzsUrl) {
        this.hdzsUrl = hdzsUrl;
    }

    public Byte getScType() {
        return scType;
    }

    public void setScType(Byte scType) {
        this.scType = scType;
    }

    public String getEntrance() {
        return entrance;
    }

    public void setEntrance(String entrance) {
        this.entrance = entrance;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getProjectClassifyId() {
        return projectClassifyId;
    }

    public void setProjectClassifyId(String projectClassifyId) {
        this.projectClassifyId = projectClassifyId;
    }

    public String getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(String applicationType) {
        this.applicationType = applicationType;
    }

    public String getCreatName() {
        return creatName;
    }

    public void setCreatName(String creatName) {
        this.creatName = creatName;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDiscribe() {
        return discribe;
    }

    public void setDiscribe(String discribe) {
        this.discribe = discribe;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", img=").append(img);
        sb.append(", bjurl=").append(bjurl);
        sb.append(", hdurl=").append(hdurl);
        sb.append(", gifUrl=").append(gifUrl);
        sb.append(", hdzsUrl=").append(hdzsUrl);
        sb.append(", scType=").append(scType);
        sb.append(", entrance=").append(entrance);
        sb.append(", type=").append(type);
        sb.append(", sort=").append(sort);
        sb.append(", projectClassifyId=").append(projectClassifyId);
        sb.append(", applicationType=").append(applicationType);
        sb.append(", creatName=").append(creatName);
        sb.append(", creatTime=").append(creatTime);
        sb.append(", updateName=").append(updateName);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", discribe=").append(discribe);
        sb.append(", detail=").append(detail);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WechatMpSystemProject other = (WechatMpSystemProject) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getImg() == null ? other.getImg() == null : this.getImg().equals(other.getImg()))
            && (this.getBjurl() == null ? other.getBjurl() == null : this.getBjurl().equals(other.getBjurl()))
            && (this.getHdurl() == null ? other.getHdurl() == null : this.getHdurl().equals(other.getHdurl()))
            && (this.getGifUrl() == null ? other.getGifUrl() == null : this.getGifUrl().equals(other.getGifUrl()))
            && (this.getHdzsUrl() == null ? other.getHdzsUrl() == null : this.getHdzsUrl().equals(other.getHdzsUrl()))
            && (this.getScType() == null ? other.getScType() == null : this.getScType().equals(other.getScType()))
            && (this.getEntrance() == null ? other.getEntrance() == null : this.getEntrance().equals(other.getEntrance()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getSort() == null ? other.getSort() == null : this.getSort().equals(other.getSort()))
            && (this.getProjectClassifyId() == null ? other.getProjectClassifyId() == null : this.getProjectClassifyId().equals(other.getProjectClassifyId()))
            && (this.getApplicationType() == null ? other.getApplicationType() == null : this.getApplicationType().equals(other.getApplicationType()))
            && (this.getCreatName() == null ? other.getCreatName() == null : this.getCreatName().equals(other.getCreatName()))
            && (this.getCreatTime() == null ? other.getCreatTime() == null : this.getCreatTime().equals(other.getCreatTime()))
            && (this.getUpdateName() == null ? other.getUpdateName() == null : this.getUpdateName().equals(other.getUpdateName()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getDiscribe() == null ? other.getDiscribe() == null : this.getDiscribe().equals(other.getDiscribe()))
            && (this.getDetail() == null ? other.getDetail() == null : this.getDetail().equals(other.getDetail()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getImg() == null) ? 0 : getImg().hashCode());
        result = prime * result + ((getBjurl() == null) ? 0 : getBjurl().hashCode());
        result = prime * result + ((getHdurl() == null) ? 0 : getHdurl().hashCode());
        result = prime * result + ((getGifUrl() == null) ? 0 : getGifUrl().hashCode());
        result = prime * result + ((getHdzsUrl() == null) ? 0 : getHdzsUrl().hashCode());
        result = prime * result + ((getScType() == null) ? 0 : getScType().hashCode());
        result = prime * result + ((getEntrance() == null) ? 0 : getEntrance().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getSort() == null) ? 0 : getSort().hashCode());
        result = prime * result + ((getProjectClassifyId() == null) ? 0 : getProjectClassifyId().hashCode());
        result = prime * result + ((getApplicationType() == null) ? 0 : getApplicationType().hashCode());
        result = prime * result + ((getCreatName() == null) ? 0 : getCreatName().hashCode());
        result = prime * result + ((getCreatTime() == null) ? 0 : getCreatTime().hashCode());
        result = prime * result + ((getUpdateName() == null) ? 0 : getUpdateName().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getDiscribe() == null) ? 0 : getDiscribe().hashCode());
        result = prime * result + ((getDetail() == null) ? 0 : getDetail().hashCode());
        return result;
    }
}